body {
  background: #aaa;
  padding-bottom: 100px;
}

h5 {
  width: 100%;
  font-size: 24px;
}

.wrap {
  display: flex;
  justify-content: flex-start;
  align-items: end;
  flex-wrap: wrap;
}

img {
  margin: 3px;
  min-width: 50px;
  min-height: 50px;
  max-width: 200px;
  max-height: 200px;
}